package chuangyi.com.org.ViewModel;

import android.content.Context;
import android.databinding.Bindable;
import android.view.View;

import java.util.Date;

/**
 * Created by zxh on 16/12/11.
 */

public class SelectDateModel extends ObservableWithGoBackHandler {

    private Date selectedDate;
    private String hour;
    private String minute;

    @Bindable
    public String getHour() {
        return hour;
    }

    public void setHour(String hour) {
        this.hour = hour;
    }

    @Bindable
    public String getMinute() {
        return minute;
    }

    public void setMinute(String minute) {
        this.minute = minute;
    }

    public Date getSelectedDate() {
        return selectedDate;
    }

    public void setSelectedDate(Date selectedDate) {
        this.selectedDate = selectedDate;
    }

    public SelectDateModel(Context context){
        super(context);
    }
}
